package scau.filesystem.controller;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class OpenFileInfo {
	private final StringProperty openFilename;
	private final StringProperty absolutePath;
	public OpenFileInfo(String openFilename,String absolutePath){
		this.openFilename=new SimpleStringProperty(openFilename);
		this.absolutePath=new SimpleStringProperty(absolutePath);
	}
	public void setFilename(String openFilename){
		this.openFilename.set(openFilename);
	}
	public String getFilename(){
		return openFilename.get();
	}
	public StringProperty openFilenameProperty(){
		return openFilename;
	}
	public void setAbsolutePath(String absolutePath){
		this.absolutePath.set(absolutePath);
	}
	public String getAbsolutePath(){
		return absolutePath.get();
	}
	public StringProperty absolutePathProperty(){
		return absolutePath;
	}
}
